package com.jiyun.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.mapper.YejigoalDoctorMapper;
import com.jiyun.model.xitong.YejigoalDoctor;
import com.jiyun.service.IYejigoalDoctorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2024-09-25
 */
@Service
public class YejigoalDoctorServiceImpl extends ServiceImpl<YejigoalDoctorMapper, YejigoalDoctor> implements IYejigoalDoctorService {
    @Autowired
    private YejigoalDoctorMapper yejigoalDoctorMapper;

    @Override
    public Page<YejigoalDoctor> findAll(Integer pageNum, Integer pageSize, YejigoalDoctor yejigoalDoctor) {
        return yejigoalDoctorMapper.findAll(new Page<YejigoalDoctor>(pageNum,pageSize),yejigoalDoctor);
    }
}
